import { SetMetadata, applyDecorators } from "@nestjs/common";

/**生成前端SDK */
export function GenerateSDK(returnInterface:string,returnList=false): MethodDecorator {
	return applyDecorators(
		SetMetadata("generateSDK", true),
		SetMetadata("returnInterface", returnInterface),
		SetMetadata("returnList", returnList),
	);
}
